package com.usian.search.feign;

import com.usian.model.behavior.pojos.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "behavior")
public interface BehaviorFeign {

    @GetMapping("/api/v1/behavior_entry/one")    /*根据用户id查询实体*/
    public ApBehaviorEntry findApBehaviorEntry(@RequestParam("userId") Integer userId, @RequestParam(value = "equipmentId",required = false)Integer equipmentId);

}
